package top.yxqz.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 余小小
 * @date: 2023/4/23
 * @description：
 */
@Controller
public class HelloController {

    @RequestMapping("/")
    public String goindex() {
        return "index";
    }

    @RequestMapping("/hello")
    public String goHello() {
        return "hello";
    }

    @RequestMapping("/test")
    public String goTest() {
        return "test";
    }
}
